<template>
  <div class="main">
      <div class="header">
          <div class="one">
              <button><i class="iconfont icon-icon-test">热门</i></button>
              <h2>实用AI工具合集</h2>
          </div>
          <div class="two">
              <div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>
              <div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>
              <div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>
              <div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>
          </div>
      </div>
      <div class="neck cf">
          <div class="neck-in fl"><span>文字文字</span></div>
          <div class="neck-in fl"><span>文字文字</span></div>
          <div class="neck-in fl"><span>文字文字</span></div>
          <div class="neck-in fl"><span>文字文字</span></div>
          <div class="neck-in fl"><span>文字文字</span></div>
          <div class="neck-in fl"><span>文字文字</span></div>
          <div class="neck-in fl"><span>文字文字</span></div>
          <div class="neck-in fl"><span>文字文字</span></div>
          <div class="neck-in fl"><span>文字文字</span></div>
          <div class="neck-in fl"><span>文字文字</span></div>
      </div>
      <div class="bodyer">
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
          <div class="bodyer-in"><div class="two-in">
                  <div class="two-in1">
                      <div class="two-in101"><img src="../assets/shanghai.png" alt=""></div>
                      <div class="two-in102">
                          <p>这是一段文字</p>
                          <p>这是一段很长很长很长很长很长的文字</p>
                      </div>
                  </div>
                  <div class="two-in2"><i class="iconfont icon-redu">2.0k</i><i
                          class="iconfont icon-shoucang">28</i><button><span>开始互动</span></button></div>
              </div>                                                                                      </div>
      </div>
  </div>
</template>

<style scoped>
.main {
    width: 100%;
    height: 5000px;
    background-color: rgb(221, 236, 248);

}

.header {
    width: 1170px;
    border-radius: 8px;
    margin:auto;
    padding-top: 20px;
}

.one {
    width: 100%;
    display: flex;
    padding: 12px 0;
    margin: auto;
    background-color: white;
}

.one button {
    color: palevioletred;
    border: 2px;
    border-color: palevioletred;
    background-color: white;
    border-radius: 8px;
    margin-left: 10px;

}

.one h2 {
    font-size: 16px;
    color: #252933;
    font-weight: 500;
}

.two {
    width: 1130px;
    height: 160px;
    padding: 0 20px 20px;
    background-color: white;
    display: flex;

}

.two-in {
    flex-grow: 1;
    margin: 5px;
    background-color: #e2eeff;
    padding-bottom: 30px;
}
.two-in1{
    margin: 0 5px 5px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-top: 20px;
}
.two-in101 img{
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

.two-in2 i {
    margin-left: 10px;
}
.two-in2 button{
    height: 30px;
    background-color: rgb(42, 120, 255);
    margin-left: 60px;
    border: 0px;
    border-radius: 4px;
}
.two-in2 button>span{
    color: white;
    font-size: 14px;
    line-height: 30px;
    padding: 0 10px;
}
.neck{
    width: 1170px;
    height: 44px;
    margin: auto;
    padding: 12px;
    margin-top: 20px;
}
.neck-in{
    background-color: white;
    height: 44px;
    border-radius: 4px;
    margin-right: 10px;
}
.neck-in span{
    font-size: 16px;
    line-height: 44px;
    padding: 10px;
}
.bodyer{
    width: 1170px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(4,200px);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}
.bodyer-in{
    background-color: white;
}
</style>
